#pragma once
#include "wx/panel.h"

#include "CommandPanel.h"

class CLUAScriptPanel:
	public wxPanel
{
public:
	CLUAScriptPanel (wxWindow* parent, 
					wxWindowID id = wxID_ANY, 
					const wxPoint& pos = wxDefaultPosition, 
					const wxSize& size = wxSize( 447,222 ), 
					long style = wxTAB_TRAVERSAL);
	~CLUAScriptPanel(void);

	CCommandPanel *pCP;
private:
	wxArrayString ArrayStringCode;
	void ComboAppend (const wxString &s);
	bool run_status;
	void OnScriptTexBoxEnter (wxCommandEvent& event);
	void OnStatusCtrlKeyTexBoxEnter (wxKeyEvent& event);
	void OnTool_Clear (wxCommandEvent& event);
	void OnTool_Run (wxCommandEvent& event);
	void OnTool_Load (wxCommandEvent& event);
	void OnTool_RunSavedChank (wxCommandEvent& event);
};

